package top.lidee.repository.model;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Null;
import java.io.Serializable;
import java.util.Date;

/**
 * 支付宝商户授权回调信息表
 * <p>
 * Created by FSQ
 * CopyRight https://www.lidee.top
 */
@Getter
@Setter
@TableName("mt_alipay_auth_back")
@ApiModel(value = "MtAlipayAuthBack对象", description = "支付宝商户授权回调信息表")
public class MtAlipayAuthBack implements Serializable {

    private static final long serialVersionUID = 1L;

    @Null
    @ApiModelProperty("自增ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联表店铺id")
    private Integer storeId;

    @ApiModelProperty("授权商户的user_id")
    private String userId;

    @ApiModelProperty("授权商户的appid")
    private String authAppId;

    @ApiModelProperty("应用授权令牌")
    private String appAuthToken;

    @ApiModelProperty("刷新令牌")
    private String appRefreshToken;

    @ApiModelProperty("刷新令牌的有效时间")
    private String reExpiresIn;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("回调错误信息记录")
    private String errorLog;



}
